package com.ybdz.scanner.bean;

/**
 * @ClassName: InputBean
 * @author: zhao
 * @Description:    入库扫一扫的Bean
 * @date 2018/1/30 20:13
 */
public class InputBean {


    /**
     * code : 00
     * data : {"actualWeight":"22","origin":"美国","specification":"25公斤/箱","isQualified":"true","factoryNumber":"ooooo","productName":"洲草饲西冷M9"}
     */

    private String code;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * actualWeight : 22
         * origin : 美国
         * specification : 25公斤/箱
         * isQualified : true
         * factoryNumber : ooooo
         * productName : 洲草饲西冷M9
         */

        private Double actualWeight;
        private String origin;
        private String specification;
        private String isQualified;
        private String factoryNumber;
        private String productName;
        private String id;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Double getActualWeight() {
            return actualWeight;
        }

        public void setActualWeight(Double actualWeight) {
            this.actualWeight = actualWeight;
        }

        public String getOrigin() {
            return origin;
        }

        public void setOrigin(String origin) {
            this.origin = origin;
        }

        public String getSpecification() {
            return specification;
        }

        public void setSpecification(String specification) {
            this.specification = specification;
        }

        public String getIsQualified() {
            return isQualified;
        }

        public void setIsQualified(String isQualified) {
            this.isQualified = isQualified;
        }

        public String getFactoryNumber() {
            return factoryNumber;
        }

        public void setFactoryNumber(String factoryNumber) {
            this.factoryNumber = factoryNumber;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "actualWeight='" + actualWeight + '\'' +
                    ", origin='" + origin + '\'' +
                    ", specification='" + specification + '\'' +
                    ", isQualified='" + isQualified + '\'' +
                    ", factoryNumber='" + factoryNumber + '\'' +
                    ", productName='" + productName + '\'' +
                    ", id='" + id + '\'' +
                    '}';
        }
    }
}
